Autogenerated HTML docs for v1.5.3.4-203-gcc61a
diff --git a/hooks.html b/hooks.html index 4501dcf..5a3fb8c 100644 --- a/hooks.html +++ b/hooks.html
@@ -334,6 +334,18 @@ <p>This hook is meant primarily for notification, and cannot affect the outcome of <tt>git-commit</tt>.</p> </div> +<h2>post-checkout</h2> +<div class="sectionbody"> +<p>This hook is invoked when a <tt>git-checkout</tt> is run after having updated the +worktree. The hook is given three parameters: the ref of the previous HEAD, +the ref of the new HEAD (which may or may not have changed), and a flag +indicating whether the checkout was a branch checkout (changing branches, +flag=1) or a file checkout (retrieving a file from the index, flag=0). +This hook cannot affect the outcome of <tt>git-checkout</tt>.</p> +<p>This hook can be used to perform repository validity checks, auto-display +differences from the previous HEAD if different, or set working dir metadata +properties.</p> +</div> <h2>post-merge</h2> <div class="sectionbody"> <p>This hook is invoked by <tt>git-merge</tt>, which happens when a <tt>git pull</tt> @@ -467,7 +479,7 @@ </div> <div id="footer"> <div id="footer-text"> -Last updated 24-Sep-2007 07:36:59 UTC +Last updated 03-Oct-2007 12:03:51 UTC </div> </div> </body>